package com.ai.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单状态历史表
 * 
 * @author easue
 * @email sunlightcs@gmail.com
 * @date 2025-01-21 14:40:34
 */
@Data
@TableName("order_status_history")
public class OrderStatusHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 历史记录ID
	 */
	@TableId
	private Integer historyId;
	/**
	 * 订单ID
	 */
	private Integer orderId;
	/**
	 * 订单状态
	 */
	private Integer status;
	/**
	 * 状态变更时间
	 */
	private Date changedAt;

}
